<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>组织机构图</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="shortcut icon" href="$request.getContextPath()/resources/cws/images/logo.ico" /> 
<script type="text/javascript" src="$request.getContextPath()/resources/ECOTree/ECOTree.js"></script>
<link type="text/css" rel="style-sheet" href="$request.getContextPath()/resources/ECOTree/ECOTree.css" />
<style type="text/css">

</style>
<script type="text/javascript">
var myTree=null;
function initECHOTree(){
	myTree = new ECOTree("myTree","myTreeContainer");
		myTree.config.iRootOrientation = ECOTree.RO_LEFT;
		myTree.config.defaultNodeWidth = 112;
		myTree.config.defaultNodeHeight = 20;
		myTree.config.iSubtreeSeparation = 20;
		myTree.config.iSiblingSeparation = 10;										
		myTree.config.linkType = 'B';
		myTree.config.useTarget = false;
		myTree.config.nodeFill = ECOTree.NF_GRADIENT;
		myTree.config.colorStyle = ECOTree.CS_LEVEL;
		myTree.config.levelColors = ["#966E00","#BC9400","#D9B100","#FFD700"];
		myTree.config.levelBorderColors = ["#FFD700","#D9B100","#BC9400","#966E00"];
		myTree.config.nodeColor = "#FFD700";
		myTree.config.nodeBorderColor = "#FFD700";
		myTree.config.linkColor = "#FFD700";
		myTree.add(1,-1,'species',null,null,"#F08080");
		myTree.add(2,1,'plants');
		myTree.add(3,1,'fungi');
		myTree.add(4,1,'lichens');
		myTree.add(5,1,'animals');
		myTree.add(6,2,'mosses');
		myTree.add(7,2,'ferns');
		myTree.add(8,2,'gymnosperms');
		myTree.add(9,2,'dicotyledons');
		myTree.add(10,2,'monocotyledons');
		myTree.add(11,5,'invertebrates');
		myTree.add(12,5,'vertebrates');
		myTree.add(13,11,'insects');
		myTree.add(14,11,'molluscs');
		myTree.add(15,11,'crustaceans');		
		myTree.add(16,11,'others');								
		myTree.add(17,12,'fish');
		myTree.add(18,12,'amphibians');
		myTree.add(19,12,'reptiles');		
		myTree.add(20,12,'birds');								
		myTree.add(21,12,'mammals');				
		myTree.UpdateTree();
}
</script>
</head>
<body onload="initECHOTree()">
	<div id="myTreeContainer"></div>
</body>
</html>